{#继承父模板#}
{% extends 'block.html' %}

{% block head %}
	<div>
        <button>Head</button>
    </div>
{% endblock %}

{% block content %}
    {#默认子模板覆盖父模板内容，如果想继承父模板中的内容，使用block.super#}
    {{ block.super }}
	<div>
        <button>content</button>
    </div>
{% endblock %}

{% block foot %}
	<div>
        <button>foot</button>
    </div>

    {#导入其他模板内容#}
    {% include 'child_include.html' %}
{% endblock %}